package com.technology.enumeration;

public class OperationUsing {

	public static void main(String[] args) {
		
		int x = 100, y = 4;
		
//		for (Operation oper : new Operation[]{Operation.PLUS, Operation.MINUS, Operation.MULTIPLY, Operation.DIV}){
		for (Operation oper : Operation.values()){
			oper.eval(x, y);
		}
		
//		Operation.DIV.eval(x, y);
	}
}
